MapSnapshot

class MapSnapshot : MapSnapshotInterface

An image snapshot of a map rendered by `map snapshotter`.

Functions

attributions
Link copied to clipboard
open fun attributions(): List<String>
Get list of attributions for the sources in this snapshot.
coordinate
Link copied to clipboard
open fun coordinate(screenCoordinate: ScreenCoordinate): Point
Calculate geographical coordinates from a point on the snapshot.
image
Link copied to clipboard
open fun image(): Image
Get the rendered snapshot `image`.
screenCoordinate
Link copied to clipboard
open fun screenCoordinate(coordinate: Point): ScreenCoordinate
Calculate screen coordinate on the snapshot from geographical `coordinate`.